* lisp/emacs-lisp/advice.el (ad-preactivate-advice): Adjust the cleanup to
authorStefan Monnier <monnier@iro.umontreal.ca>
Tue, 15 Jan 2013 06:05:22 +0000 (01:05 -0500)
committerStefan Monnier <monnier@iro.umontreal.ca>
Tue, 15 Jan 2013 06:05:22 +0000 (01:05 -0500)
commit11274026e034205e7426063d216fcd00ceefbc02
treed99af9d4686a7b74b7631f02c5cc810c95cb25ec
parentb79e5d33f1905d95b47de8355e82f5bcf74501e3
* lisp/emacs-lisp/advice.el (ad-preactivate-advice): Adjust the cleanup to
the use of nadvice.el.
* lisp/emacs-lisp/nadvice.el (advice--tweak): Make it possible for `tweak'
to return an explicit nil.
(advice--remove-function): Change accordingly.
* test/automated/advice-tests.el: Split up.  Add advice-test-preactivate.
lisp/ChangeLog
lisp/emacs-lisp/advice.el
lisp/emacs-lisp/nadvice.el
test/ChangeLog
test/automated/advice-tests.el